﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace Validation
{
    public class ValidationBase : Csla.Rules.BusinessRule
    {
        public string ValidationMessage { get; set; }

        public ValidationBase(Csla.Core.IPropertyInfo PrimaryProperty, string validationMessage)
            : base(PrimaryProperty)
        {
            this.ValidationMessage = validationMessage;
        }
    }
}
